home *** CD-ROM | disk | FTP | other *** search
- /* $VER: savelist.rexx 1.0 (25.03.98)
- * Saves the result into a file
- */
-
- options results
-
- sfportname = 'SIMPLEFIND.1'
-
- /* Check if SimpleFind is loaded */
-
- if ~show('p',sfportname) then do
- say "SimpleFind isn't running"
- end
-
- address value sfportname
-
- getmaxentries
- entries = result
- setentrypos 0
-
- open(outfile,'RAM:test.list','W')
-
- do for entries
- /* get current entry and move cursor to the next entry */
- getentrynext
-
- /* add the entry to the list */
- writeln(outfile,entry.name)
- end
-
- close(outfile)
-
-